/*
 * Developer.java
 *
 * Created on 2008. february 4., 13:08
 *
 */

package projectprophet.core;

/**
 *
 * @author luppy
 */
public abstract class Developer
{
	public String getName()
	{
		return name;
	}
	
	public void setName( String newDeveloperName )
	{
		name = newDeveloperName;
	}
	
	public abstract Project getProject();
	
	// internal
	
	protected Developer() 
	{
		name = "Developer "+getIndex();
	}

	protected abstract int getIndex();
	
	private String name;
}
